
#include <Rectangle.h>

Rectangle::Rectangle(unsigned int width, unsigned int height): width_m(width),height_m(height)
{}

unsigned int 
Rectangle::getArea() const
{
	return width_m*height_m;
}

unsigned int 
Rectangle::getPerimeter() const
{
	return 2*(width_m+height_m);
}

void Rectangle::setWidth(unsigned int width)
{
        width_m = width;
}

void Rectangle::setHeight(unsigned int height)
{
        height_m = height;
}
